package com.qf.service.impl;

import com.qf.mapper.DtsOrderMapper;
import com.qf.service.DtsOrderService;
import com.qf.vo.DayStatis;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DtsOrderServiceImpl implements DtsOrderService {
    @Autowired
    private DtsOrderMapper dtsOrderMapper;
    @Override
    public Integer findCount() {
        return dtsOrderMapper.selectCount(null);
    }

    @Override
    public List<DayStatis> findOrderDayStatis() {
        return DtsOrderMapper.findOrderDayStatis();
    }
}
